home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Jumpstart / Multimedia Microsoft Jumpstart Version 1.1a (Microsoft).BIN / develpmt / source / dialogs / readme.txt < prev    next >
Encoding:
Text File  |  1992-06-02  |  2.1 KB  |  47 lines

  1. Short Overview of DIALOGS version 1.00 6/2/92
  2.  
  3. This sample code demonstrates various methods to invoke the common
  4. dialogs through the ChooseColor, ChooseFont, GetOpenFileName,
  5. GetSaveFileName, PrintDlg, FindText, and ReplaceText function calls.
  6. It is intended to be used along with the document "Using and Customizing
  7. Common Dialogs" that should also be found on this disk.
  8.  
  9. DIALOGS demonstrates basic usage for most dialogs, customizing them
  10. with flags, adding hook procedures for special processing, and
  11. customizing the dialog with an application-specific template.  It
  12. also demonstrates how to use a separate hidden popup window to make
  13. the ChooseColor and ChooseFont dialogs modeless, a technique that
  14. can be applied to the other dialogs as well.
  15.  
  16. This application is not meant to do much of anything useful as its
  17. primary purpose is to show how to call the COMMDLG API.  Therefore
  18. using the File Open dialog doesn't open any files, Find and Replace
  19. only display a message box indicating what actions were performed, and
  20. printing only draws a minimal amount of text to a printer.  Using
  21. ChooseColor you can change the background of the window and ChooseFont
  22. changes the font used for the string "Change this font..." in the
  23. client area of the main window.  Printing uses this font, but makes
  24. no attempt to match point sizes.
  25.  
  26. So don't expect a lot of functionality.  Sure, it would be nice to
  27. have an example that loaded text files, printed them, allowed full
  28. searching, changed the fonts and the colors, etc etc., but that
  29. detracts from the purpose of this sample and uneccessarily clutters
  30. the sources with code unrelated to the task at hand.
  31.  
  32. Please send feedback on the usefulness of this sample, the clarity
  33. and format of the source code, and really anything else that might
  34. help me generate better documents and sample code in the future
  35. as Microsoft introduces new systems technologies.
  36.  
  37.  
  38. Kraig Brockschmidt
  39. Software Design Engineer
  40. Microsoft Developer Relations
  41. One Microsoft Way
  42. Redmond, WA  98052
  43.  
  44. Internet  :  kraigb@microsoft.com
  45. Compuserve:  70750,2344
  46. Fax       :  (206)936-7329
  47.